const jwt = require('jwt-simple')
// payload 荷载
const key = "^&$"
const token = jwt.encode({
    adminName: 'admin',
    lastTime: Date.now() + 1000 * 60 * 60 * 2
}, key)
console.log(token);

const untoken = jwt.decode(token, key)
console.log(untoken);